<template>
	<view class="up-page">
		<u-navbar leftIconColor="#ffffff" :autoBack="true" :placeholder="true"
			bgColor="rgba(255,255,255,0.0)"></u-navbar>
		<view class="nav-title">
			充值
		</view>
		<view class="min-title">
			请选择充值金额
		</view>
		<view class="up-box">
			<view class="up-top">
				<view class="up-item" v-for="(item,index) in numList" :key="index">
					{{item}}
				</view>
				<view class="final">
					其他金额
				</view>
			</view>
			<view class="price">
				<view class="price-title">
					其他金额
				</view>
				<u--input placeholder="请输入您的充值金额" border="none" v-model="price" color="#ffffff"></u--input>
			</view>
		</view>
		<view class="min-title">
			USDT付款
		</view>
		<view class="payment">
			<view class="payment-info">
				<image src="/static/home/sc-bg.png" mode=""></image>
				<view class="payment-right">
					<view class="payment-title">
						USDT
					</view>
					<view class="payment-num">
						3895638578387538573
					</view>
				</view>
			</view>
			<view class="payment-btn">
				去付款
			</view>
		</view>
		<view class="min-title">
			扫码付款
		</view>
		<view class="code">
			<view class="code-title">
				收款二维码
			</view>
			<view class="code-img">
				<image src="/static/home/yao.png" mode=""></image>
			</view>
			<view class="code-btn">
				<u-button color="#1a1a1b" type="primary" text="保存二维码到相册"></u-button>
			</view>
		</view>
		<view class="btn">
			<u-button style="color: #000000;" color="linear-gradient(135deg, #d6b39a 0%, #fdeddf 100%)" type="primary"
				text="上传支付凭证"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				numList: [
					50, 100, 500, 1000, 500
				],
				price: ''
			}
		}
	}
</script>

<style>
	page {
		background: #000000;
	}

	.custom-btn {
		::v-deep .u-btn__text {
			color: #000000 !important;
		}
	}
</style>
<style lang="scss" scoped>
	.up-page {
		padding: 0 40rpx;

		.nav-title {
			color: #ffffff;
			padding: 30rpx;
			text-align: center;
			font-size: 56rpx;
			font-weight: bold;
		}

		.min-title {
			color: #ffffff;
			font-size: 26rpx;
			margin: 30rpx 0;
		}

		.up-box {
			border: 1rpx solid rgba(255, 255, 255, .3);
			padding: 10rpx;
			border-radius: 20rpx;

			.up-top {
				display: flex;
				justify-content: space-around;
				align-items: center;
				flex-wrap: wrap;

				.up-item {
					color: #fff;
					font-size: 32rpx;
					font-weight: bold;
					width: 30%;
					text-align: center;
					padding: 30rpx;
				}

				.final {
					background-color: #fff;
					padding: 20rpx 40rpx;
					color: #000;
					font-size: 26rpx;
					border-radius: 20rpx;
					height: 80rpx;
				}
			}

			.price {
				background-color: rgba(26, 26, 27, 1.0);
				padding: 30rpx 40rpx;
				border-radius: 10rpx;
				margin-top: 20rpx;
				display: flex;
				align-items: center;

				.price-title {
					color: #fff;
					font-size: 26rpx;
					margin-right: 20rpx;
				}
			}
		}

		.payment {
			background-color: rgba(26, 26, 27, 1.0);
			padding: 30rpx;
			border-radius: 20rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			color: #fff;

			.payment-info {
				display: flex;
				align-items: center;

				image {
					width: 80rpx;
					height: 80rpx;
					border-radius: 20rpx;
				}

				.payment-right {
					margin-left: 20rpx;

					.payment-title {
						font-size: 28rpx;
					}

					.payment-num {
						font-size: 26rpx;
						margin-top: 10rpx;
						color: #8d8d8d;
					}
				}
			}

			.payment-btn {
				color: #fff;
				font-size: 24rpx;
				border-radius: 10rpx;
				background-color: #303031;
				padding: 10rpx 15rpx;
			}
		}

		.code {
			margin-top: 30rpx;

			.code-title {
				text-align: center;
				color: #fff;
			}

			.code-img {
				display: flex;
				align-items: center;
				justify-content: center;
				padding: 30rpx;

				image {
					width: 250rpx;
					height: 250rpx;
				}
			}

			.code-btn {
				width: 85%;
				margin: 0 auto;
			}
		}

		.btn {
			margin-top: 30rpx;
		}
	}
</style>